package com.admission.to;

import java.util.List;

import com.annotation.AnCollection;
import com.annotation.AnElement;

public class MainXml {
	@AnElement("years")
	@AnCollection(beanClass = Year.class, childElement = "year")
	private List<Year> years;

	public List<Year> getYears() {
		return years;
	}

	public void setYears(List<Year> years) {
		this.years = years;
	}

}
